<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
<p style="color:red">
    {{error_msg}}
</p>
    <form action='/login/' method="post">
        用户名: <input type="text" name="username" /><br>
        密码: <input type="text" name="passwd" /><br>
        <input type="submit" value="登陆">
    </form>
</body>
</html>